package com.ld.security.common.mybatis.core.wrapper;

import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUnit;
import cn.hutool.core.date.DateUtil;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ld.security.common.core.base.SuperPo;
import com.ld.security.common.core.base.column.SuperColumn;
import com.ld.security.common.core.constant.CSuperConstant;
import com.ld.security.common.core.exception.ApiException;
import com.ld.security.common.core.util.ReflectionUtil;
import com.ld.security.common.core.util.SimpDateUtil;
import com.ld.security.common.core.util.StringUtil;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.anno.SqlKeys;
import com.ld.security.common.mybatis.base.constant.SuperConstant;
import com.ld.security.common.mybatis.constant.DateTypeConstant;
import com.ld.security.common.mybatis.constant.SqlCondition;
import com.ld.security.common.mybatis.util.TypeUtil;

import java.lang.reflect.Field;
import java.util.*;
import java.util.stream.Collectors;

public class EntityWrapper<E> extends AbstWrapper<E> {



  public static <E> EntityWrapper<E> of(Object arg){
    EntityWrapper ew = new EntityWrapper();
    ew.init(arg);
    return ew;
  }

  public static <E> EntityWrapper<E> of(){
    EntityWrapper ew = new EntityWrapper();
    return ew;
  }
}
